from django.shortcuts import render
from django.views import View
# 定义首页的视图
class HomeView(View):
    def get(self, request):
        return render(request, 'home.html')
